get /cloud/gcp/projects

List GCP Projects (listGcpProjects)

Lists the GCP Projects.

Consumes

This API call consumes the following media types via the Content-Type request header:

  • application/json

Query parameters

credentialsName (required)

Query Parameter — Cloud credentials name

Return type

array[Project]

id

String

 

Example data

Content-Type: application/json

[

{

"id" : "example_project",

}

]

Produces

This API call produces the following media types according to the Accept request header; the media type will be conveyed by the Content-Type response header.

  • application/json

Responses

200

OK

Default

Error ErrorInfo

errorCode (optional)

String

url(optional)

String

message (optional)

String